<?
require_once('./lib/oauth.class.php');
require_once('./lib/Config.php');
require_once('./lib/DB.gear.php');
require_once('./lib/lib.gear.php');
require_once('./lib/lib.garden.php');
require_once('./lib/people.class.php');
require_once('./lib/signup.php');


$url = 'http://reafo.net/garden/catch.php?user_id2=23';

$data = array(
    'user_id' => $user_id,
    'type' => 'mixi',
    'abc' => 'def',
);

$headers = array(
    'Authorization: OAuth '.'todoke', 
);

$options = array('http' => array(
    'method' => 'POST',
    'content' => http_build_query($data),
    'header' => implode("\r\n", $headers),
));

$contents = file_get_contents($url, false, stream_context_create($options));

preDump($contents);


?>
